package rf.vir

class Ticket {
	Date startTime
	String fromPlace
	String toPlace
	int price
	
	static belongsTo = [user:User]
	
    static constraints = {
		startTime(blank: false)
		fromPlace(blank: false)
		toPlace(blank: false)
		price(blank: false)
    }
}
